package com.misboot.document.dto;

/**
 * @MethodName
 * @Description  用户默认信息
 * @Param null
 * @Return
 * @Author 湖南佐佑时代科技有限公司<service@zuoyo.com>
 * @Date 2019-10-20 13:16
 */
public class UserDTO {

    //id: "id1000", //用户id，长度小于32
    //name: "wps-1000", //用户名称
    //permission: "read", //用户操作权限，write：可编辑，read：预览
    //avatar_url: "http://xxx.cn/id=1000" //用户头像地址

    private String id = "-1";
    private String name = " ";
    private String permission = "read";
    private String avatar_url = "";

    public UserDTO() {
        super();
    }

    public UserDTO(String id, String name, String permission, String avatar_url) {
        this.id = id;
        this.name = name;
        this.permission = permission;
        this.avatar_url = avatar_url;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getPermission() {
        return permission;
    }

    public void setPermission(String permission) {
        this.permission = permission;
    }

    public String getAvatar_url() {
        return avatar_url;
    }

    public void setAvatar_url(String avatar_url) {
        this.avatar_url = avatar_url;
    }
}
